<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<head>
	<%@ include file="jsp/imports/header.jsp" %>
	
	<script type="text/javascript" src="js/login.js"></script>    
    <!-- <link rel="stylesheet" href="css/style.css" type="text/css" />  -->
    <link rel="stylesheet" href="css/login.css" type="text/css" />
    
</head>

<body>
<c:set var="page" value="login.jsp" scope="session"/>       
<div class="contentwrap">
	
<div class="headwrap">


  <%@ include file="jsp/imports/top.jsp" %>   
    
	<div class="container content">

 	<div class="span-20 append-2 prepend-2"><!--/intro--><!--/sub-->
    <%@ include file="jsp/imports/mensagens.jsp" %>
       <div class="login">
        		<h2>Login</h2>
          		<form id="gaia_loginform" action="<c:out value="${pageContext.request.contextPath}"/>/login.do" method="post">
               	    <label><strong class="email-label"><fmt:message key="login.email"/></strong> <input name="email" type="text" id="Email"  value="${param.email}" /> </label>
                    <label><strong class="passwd-label"><fmt:message key="login.senha"/></strong>
                      <input type="password" id="Passwd" name="senha" value="${param.senha}"/>
                    </label>
                    <label><strong class="perfil"><fmt:message key="login.perfil"/></strong>
                    </label>
                        <div class="options">
                            <div class="professor">
                            	<fmt:message key="login.perfilProfessor"/> 
                            	<input type="radio" name="tipo" value="p" <c:out value="${param.tipo == 'p' ? 'checked' : ''}"/>/> 
                            </div>
                            <div class="diretor">
                            	<fmt:message key="login.perfilDiretor"/>
                             	<input type="radio" name="tipo" value="d" <c:out value="${param.tipo == 'd' ? 'checked' : ''}"/>/>                             	
                            </div>                             
                        </div>
                  <input type="submit" value="<fmt:message key="login.entrar"/>"/>
                  <center>
                  	<a href="<c:out value="${pageContext.request.contextPath}"/>/esqueceuSenha.jsp"><fmt:message key="login.esqueceuSenha"/></a>
                  </center>
                </form>
       </div>  
  </div><!--/20-->
			
		  <div class="final"></div>
		
	
	
	</div>

</div>

</div>
<%@ include file="jsp/imports/footer.jsp" %>
</body>

</html>